package com.company.oa.meeting.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.oa.meeting.dto.MeetingFeedbackDTO;
import com.company.oa.meeting.entity.MeetingFeedback;

import java.util.Map;

/**
 * 会议反馈服务接口
 */
public interface MeetingFeedbackService extends IService<MeetingFeedback> {
    /**
     * 提交会议反馈
     */
    boolean submitFeedback(MeetingFeedbackDTO feedbackDTO, Long userId, String userName);
    
    /**
     * 获取会议反馈列表
     */
    IPage<MeetingFeedback> getFeedbackPage(int page, int size, Long meetingId);
    
    /**
     * 获取会议反馈统计
     */
    Map<String, Object> getFeedbackStatistics(Long meetingId);
    
    /**
     * 检查用户是否已提交反馈
     */
    boolean hasSubmittedFeedback(Long meetingId, Long userId);
} 